package com.example.demo.identity.domain;

import com.example.jbp.ddd.domain.entities.auditing.AuditedAggregateRoot;

import javax.persistence.Entity;
import java.util.UUID;

@Entity
public class IdentityUser extends AuditedAggregateRoot<UUID> {

	private String name;
	private String surname;
	private String userName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	protected IdentityUser() {}

	public IdentityUser(UUID id) {
		super(id);
	}
}

